<?php get_header() ?>
<div id="c">
<?php mim_if_updated_today() ?>
<?php $postcount = 1; $highlightposts = 3; if ( have_posts() ) : ?>
<?php if ( is_category() ) { ?>
	<div class="pt"><?php _e( 'Category: ', 'mim' ); single_cat_title(); ?></div>
<?php } elseif ( is_tag() ) { ?>
	<div class="pt"><?php _e( 'Tag: ', 'mim' ); single_tag_title(); ?></div>
<?php } elseif ( is_search() ) { ?>
	<div class="pt"><?php _e( 'Search results:  ', 'mim' ) . the_search_query(); ?></div>
<?php } elseif ( is_month() ) { ?>
	<div class="pt"><?php _e( 'Archive: ', 'mim' ); the_time('F, Y'); ?></div>
<?php } elseif ( is_paged() ) { ?>
	<div class="pt"><?php _e( 'Blog archives', 'mim' ) ?></div>
<?php } while ( have_posts() ) : the_post(); ?>
	<h2><?php if ( $postcount < 10 ) echo '<span class="ak">' . $postcount . '</span>&#160;'; ?><a <?php if ( $postcount < 10 ) echo "accesskey=\"$postcount\" "; ?>href="<?php the_permalink() ?>" title="<?php printf( __( 'Read full post: %s', 'mim' ), wp_specialchars( get_the_title(), 1 ) ) ?>"><?php the_title() ?></a>&#160;<span><?php unset($previousday); the_date( 'Y-m-d', '', '' ); ?></span></h2>
<?php if ( $postcount<$highlightposts && is_home() && !is_paged() ) { ?>
	<div class="ec"><?php the_content_rss( '', true, '', 20, 2 ) ?></div>
<?php } $postcount++; endwhile; ?>
<?php if ( mim_show_navigation() ) { ?>
	<div class="nav"><?php posts_nav_link( ' | ', '&#171; Newer posts', 'Older posts &#187;' ) ?></div>
<?php } ?>
<?php else : ?>
	<h2><?php _e( 'Not Found', 'mim' ) ?></h2>
	<p><?php _e( 'Apologies. What you\'re looking for doesn\'t seem to be here.', 'mim' ) ?></p>
<?php endif; ?>
</div>
<?php if ( function_exists('mim_mobile_adsense') ) mim_mobile_adsense(); ?>
<?php get_footer() ?>